#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>

int main()
{
    int fd1=open("log1.txt",O_WRONLY|O_CREAT|O_TRUNC,0666);
    int fd2=open("log2.txt",O_WRONLY|O_CREAT|O_TRUNC,0666);
    int fd3=open("log3.txt",O_WRONLY|O_CREAT|O_TRUNC,0666);
    int fd4=open("log4.txt",O_WRONLY|O_CREAT|O_TRUNC,0666);
    int fd5=open("log5.txt",O_WRONLY|O_CREAT|O_TRUNC,0666);

    printf("%d ",fd1);
    printf("%d ",fd2);
    printf("%d ",fd3);
    printf("%d ",fd4);
    printf("%d\n",fd5);

    return 0;
}